Non-invasive diagnostic testing